package com.tpo.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tpo.dao.Tpo_moduleMapper;
import com.tpo.model.Tpo_module;
import com.tpo.service.TpoModuleManagerService;

@Service("tpoModuleManagerService")
public class TpoModuleManagerServiceImpl implements TpoModuleManagerService {
	@Autowired
	Tpo_moduleMapper tpo_moduleMapper;

	@Override
	public List<Tpo_module> findMenuByUserUid(Integer uid) {
		return tpo_moduleMapper.findMenuByUserUid(uid);
	}

	@Override
	public List<Tpo_module> findSubMenuById(Integer id) {
		return tpo_moduleMapper.findSubMenuById(id);
	}
}
